<!-- HTML header for doxygen 1.8.14-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Unity ML-Agents Toolkit: RayPerceptionSensorComponent3D Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygenbase.css" rel="stylesheet" type="text/css" />
<link href="unity.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Unity ML-Agents Toolkit
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">RayPerceptionSensorComponent3D Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A component for 3D Ray Perception.  
 <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#details">More...</a></p>

<p>Inherits <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html">RayPerceptionSensorComponentBase</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6ee44356c4379e3cc8a3575f80073dec"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="namespaceUnity_1_1MLAgents_1_1Sensors.html#a4d80e09565a5154e679c8066c05d1caf">RayPerceptionCastType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a6ee44356c4379e3cc8a3575f80073dec">GetCastType</a> ()</td></tr>
<tr class="memdesc:a6ee44356c4379e3cc8a3575f80073dec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="namespaceUnity_1_1MLAgents_1_1Sensors.html#a4d80e09565a5154e679c8066c05d1caf" title="Determines which dimensions the sensor will perform the casts in.">RayPerceptionCastType</a> for the associated raycast sensor.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a6ee44356c4379e3cc8a3575f80073dec">More...</a><br /></td></tr>
<tr class="separator:a6ee44356c4379e3cc8a3575f80073dec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66f3fb1c05539fbf8fb471d7af97ed55"><td class="memItemLeft" align="right" valign="top">override float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a66f3fb1c05539fbf8fb471d7af97ed55">GetStartVerticalOffset</a> ()</td></tr>
<tr class="memdesc:a66f3fb1c05539fbf8fb471d7af97ed55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the amount that the ray start is offset up or down by.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a66f3fb1c05539fbf8fb471d7af97ed55">More...</a><br /></td></tr>
<tr class="separator:a66f3fb1c05539fbf8fb471d7af97ed55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d8339e7c3d5e051cd45ef60669a7e82"><td class="memItemLeft" align="right" valign="top">override float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a4d8339e7c3d5e051cd45ef60669a7e82">GetEndVerticalOffset</a> ()</td></tr>
<tr class="memdesc:a4d8339e7c3d5e051cd45ef60669a7e82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the amount that the ray end is offset up or down by.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a4d8339e7c3d5e051cd45ef60669a7e82">More...</a><br /></td></tr>
<tr class="separator:a4d8339e7c3d5e051cd45ef60669a7e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html">RayPerceptionSensorComponentBase</a></td></tr>
<tr class="memitem:af33001bb7f674c75660373e7694ab5ec inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="interfaceUnity_1_1MLAgents_1_1Sensors_1_1ISensor.html">ISensor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#af33001bb7f674c75660373e7694ab5ec">CreateSensor</a> ()</td></tr>
<tr class="memdesc:af33001bb7f674c75660373e7694ab5ec inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an initialized raycast sensor.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#af33001bb7f674c75660373e7694ab5ec">More...</a><br /></td></tr>
<tr class="separator:af33001bb7f674c75660373e7694ab5ec inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d76391747ede7e0abbe3b7d7f4a73f4 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">override int[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a3d76391747ede7e0abbe3b7d7f4a73f4">GetObservationShape</a> ()</td></tr>
<tr class="memdesc:a3d76391747ede7e0abbe3b7d7f4a73f4 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the observation shape for this raycast sensor which depends on the number of tags for detected objects and the number of rays.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a3d76391747ede7e0abbe3b7d7f4a73f4">More...</a><br /></td></tr>
<tr class="separator:a3d76391747ede7e0abbe3b7d7f4a73f4 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2b6a0885a71641deca4940a957df2e4 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionInput.html">RayPerceptionInput</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#aa2b6a0885a71641deca4940a957df2e4">GetRayPerceptionInput</a> ()</td></tr>
<tr class="memdesc:aa2b6a0885a71641deca4940a957df2e4 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="structUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionInput.html" title="Contains the elements that define a ray perception sensor.">RayPerceptionInput</a> that is used by the <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensor.html" title="A sensor implementation that supports ray cast-based observations.">RayPerceptionSensor</a>.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#aa2b6a0885a71641deca4940a957df2e4">More...</a><br /></td></tr>
<tr class="separator:aa2b6a0885a71641deca4940a957df2e4 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent.html">SensorComponent</a></td></tr>
<tr class="memitem:a9fcfcdf5ac3113dcc660dfb9a5c2e581 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent.html#a9fcfcdf5ac3113dcc660dfb9a5c2e581">IsVisual</a> ()</td></tr>
<tr class="memdesc:a9fcfcdf5ac3113dcc660dfb9a5c2e581 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the observation is visual or not.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent.html#a9fcfcdf5ac3113dcc660dfb9a5c2e581">More...</a><br /></td></tr>
<tr class="separator:a9fcfcdf5ac3113dcc660dfb9a5c2e581 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af41da8555b5d967ab1bf7d4981da0110 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent.html#af41da8555b5d967ab1bf7d4981da0110">IsVector</a> ()</td></tr>
<tr class="memdesc:af41da8555b5d967ab1bf7d4981da0110 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the observation is vector or not.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent.html#af41da8555b5d967ab1bf7d4981da0110">More...</a><br /></td></tr>
<tr class="separator:af41da8555b5d967ab1bf7d4981da0110 inherit pub_methods_classUnity_1_1MLAgents_1_1Sensors_1_1SensorComponent"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a25281c37d0a0f25b6e8638ed2803b721"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a25281c37d0a0f25b6e8638ed2803b721">StartVerticalOffset</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a25281c37d0a0f25b6e8638ed2803b721"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ray start is offset up or down by this amount.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a25281c37d0a0f25b6e8638ed2803b721">More...</a><br /></td></tr>
<tr class="separator:a25281c37d0a0f25b6e8638ed2803b721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47b1a40a1e4f34a5053ea794c9922f11"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a47b1a40a1e4f34a5053ea794c9922f11">EndVerticalOffset</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a47b1a40a1e4f34a5053ea794c9922f11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ray end is offset up or down by this amount.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html#a47b1a40a1e4f34a5053ea794c9922f11">More...</a><br /></td></tr>
<tr class="separator:a47b1a40a1e4f34a5053ea794c9922f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td colspan="2" onclick="javascript:toggleInherit('properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html">RayPerceptionSensorComponentBase</a></td></tr>
<tr class="memitem:a8ea115196e377cab713107bc923e14aa inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a8ea115196e377cab713107bc923e14aa">SensorName</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8ea115196e377cab713107bc923e14aa inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the Sensor that this component wraps.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a8ea115196e377cab713107bc923e14aa">More...</a><br /></td></tr>
<tr class="separator:a8ea115196e377cab713107bc923e14aa inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18e7e591b728d50d7a180013fbfd37f4 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">List&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a18e7e591b728d50d7a180013fbfd37f4">DetectableTags</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a18e7e591b728d50d7a180013fbfd37f4 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of tags in the scene to compare against.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a18e7e591b728d50d7a180013fbfd37f4">More...</a><br /></td></tr>
<tr class="separator:a18e7e591b728d50d7a180013fbfd37f4 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4982a045d23811f29c6d15df59790e18 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a4982a045d23811f29c6d15df59790e18">RaysPerDirection</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a4982a045d23811f29c6d15df59790e18 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of rays to the left and right of center.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a4982a045d23811f29c6d15df59790e18">More...</a><br /></td></tr>
<tr class="separator:a4982a045d23811f29c6d15df59790e18 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6372bdc333727fdfab99b0973f7d3d inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a1f6372bdc333727fdfab99b0973f7d3d">MaxRayDegrees</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a1f6372bdc333727fdfab99b0973f7d3d inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cone size for rays.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a1f6372bdc333727fdfab99b0973f7d3d">More...</a><br /></td></tr>
<tr class="separator:a1f6372bdc333727fdfab99b0973f7d3d inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab321e8c73e8d38a67a2b167f0af2d11f inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#ab321e8c73e8d38a67a2b167f0af2d11f">SphereCastRadius</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab321e8c73e8d38a67a2b167f0af2d11f inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Radius of sphere to cast.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#ab321e8c73e8d38a67a2b167f0af2d11f">More...</a><br /></td></tr>
<tr class="separator:ab321e8c73e8d38a67a2b167f0af2d11f inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a656b11a12502902d5fdc1c563fe3774e inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a656b11a12502902d5fdc1c563fe3774e">RayLength</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a656b11a12502902d5fdc1c563fe3774e inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Length of the rays to cast.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a656b11a12502902d5fdc1c563fe3774e">More...</a><br /></td></tr>
<tr class="separator:a656b11a12502902d5fdc1c563fe3774e inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a991f2b490c4badd8faaed49072cd2c1c inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">LayerMask&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a991f2b490c4badd8faaed49072cd2c1c">RayLayerMask</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a991f2b490c4badd8faaed49072cd2c1c inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Controls which layers the rays can hit.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a991f2b490c4badd8faaed49072cd2c1c">More...</a><br /></td></tr>
<tr class="separator:a991f2b490c4badd8faaed49072cd2c1c inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a020bbe714afa861de5d606c5c41fc207 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a020bbe714afa861de5d606c5c41fc207">ObservationStacks</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a020bbe714afa861de5d606c5c41fc207 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether to stack previous observations.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a020bbe714afa861de5d606c5c41fc207">More...</a><br /></td></tr>
<tr class="separator:a020bbe714afa861de5d606c5c41fc207 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33818ef43d17b984b2884b48984ff581 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensor.html">RayPerceptionSensor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a33818ef43d17b984b2884b48984ff581">RaySensor</a><code> [get]</code></td></tr>
<tr class="memdesc:a33818ef43d17b984b2884b48984ff581 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensor.html" title="A sensor implementation that supports ray cast-based observations.">RayPerceptionSensor</a> that was created.  <a href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a33818ef43d17b984b2884b48984ff581">More...</a><br /></td></tr>
<tr class="separator:a33818ef43d17b984b2884b48984ff581 inherit properties_classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A component for 3D Ray Perception. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a6ee44356c4379e3cc8a3575f80073dec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ee44356c4379e3cc8a3575f80073dec">&#9670;&nbsp;</a></span>GetCastType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override <a class="el" href="namespaceUnity_1_1MLAgents_1_1Sensors.html#a4d80e09565a5154e679c8066c05d1caf">RayPerceptionCastType</a> GetCastType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="namespaceUnity_1_1MLAgents_1_1Sensors.html#a4d80e09565a5154e679c8066c05d1caf" title="Determines which dimensions the sensor will perform the casts in.">RayPerceptionCastType</a> for the associated raycast sensor. </p>

<p>Implements <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a5fe5d0d93e38e1cf3572874ae26aa6d5">RayPerceptionSensorComponentBase</a>.</p>

</div>
</div>
<a id="a4d8339e7c3d5e051cd45ef60669a7e82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d8339e7c3d5e051cd45ef60669a7e82">&#9670;&nbsp;</a></span>GetEndVerticalOffset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override float GetEndVerticalOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the amount that the ray end is offset up or down by. </p>

<p>Reimplemented from <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#a6fc38a00fbba79e2d832673252367f2b">RayPerceptionSensorComponentBase</a>.</p>

</div>
</div>
<a id="a66f3fb1c05539fbf8fb471d7af97ed55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66f3fb1c05539fbf8fb471d7af97ed55">&#9670;&nbsp;</a></span>GetStartVerticalOffset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override float GetStartVerticalOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the amount that the ray start is offset up or down by. </p>

<p>Reimplemented from <a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponentBase.html#ac01959fe196ef0d488acfd922162a928">RayPerceptionSensorComponentBase</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a47b1a40a1e4f34a5053ea794c9922f11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47b1a40a1e4f34a5053ea794c9922f11">&#9670;&nbsp;</a></span>EndVerticalOffset</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float EndVerticalOffset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Ray end is offset up or down by this amount. </p>

</div>
</div>
<a id="a25281c37d0a0f25b6e8638ed2803b721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25281c37d0a0f25b6e8638ed2803b721">&#9670;&nbsp;</a></span>StartVerticalOffset</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float StartVerticalOffset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Ray start is offset up or down by this amount. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="RayPerceptionSensorComponent3D_8cs.html">RayPerceptionSensorComponent3D.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceUnity.html">Unity</a></li><li class="navelem"><a class="el" href="namespaceUnity_1_1MLAgents.html">MLAgents</a></li><li class="navelem"><a class="el" href="namespaceUnity_1_1MLAgents_1_1Sensors.html">Sensors</a></li><li class="navelem"><a class="el" href="classUnity_1_1MLAgents_1_1Sensors_1_1RayPerceptionSensorComponent3D.html">RayPerceptionSensorComponent3D</a></li>
  </ul>
</div>
</body>
</html>
